<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "https://www.springframework.org/dtd/spring-beans-2.0.dtd">

<beans>

	<bean id="parentWithList" class="org.springframework.beans.testfixture.beans.TestBean">
		<property name="someList">
			<list>
				<value>Rob Harrop</value>
				<value>Rod Johnson</value>
			</list>
		</property>
	</bean>

	<bean id="childWithList" parent="parentWithList">
		<property name="someList">
			<list merge="true">
				<value>Juergen Hoeller</value>
			</list>
		</property>
	</bean>

	<bean id="childWithListOfRefs" parent="parentWithList">
		<property name="someList">
			<list merge="true">
				<bean class="org.springframework.beans.testfixture.beans.TestBean"/>
			</list>
		</property>
	</bean>

	<bean id="parentWithSet" class="org.springframework.beans.testfixture.beans.TestBean">
		<property name="someSet">
			<set>
				<value>Rob Harrop</value>
			</set>
		</property>
	</bean>

	<bean id="childWithSet" parent="parentWithSet">
		<property name="someSet">
			<set merge="true">
				<value>Sally Greenwood</value>
			</set>
		</property>
	</bean>

	<bean id="childWithSetOfRefs" parent="parentWithSet">
		<property name="someSet">
			<set merge="true">
				<bean class="org.springframework.beans.testfixture.beans.TestBean">
					<property name="name" value="Sally"/>
				</bean>
			</set>
		</property>
	</bean>

	<bean id="parentWithMap" class="org.springframework.beans.testfixture.beans.TestBean">
		<property name="someMap">
			<map>
				<entry key="Rob" value="Sall"/>
				<entry key="Juergen" value="Eva"/>
			</map>
		</property>
	</bean>

	<bean id="childWithMap" parent="parentWithMap">
		<property name="someMap">
			<map merge="true">
				<entry key="Rod" value="Kerry"/>
				<entry key="Rob" value="Sally"/>
			</map>
		</property>
	</bean>

	<bean id="childWithMapOfRefs" parent="parentWithMap">
		<property name="someMap">
			<map merge="true">
				<entry key="Rob">
					<bean class="org.springframework.beans.testfixture.beans.TestBean">
						<property name="name" value="Sally"/>
					</bean>
				</entry>
			</map>
		</property>
	</bean>

	<bean id="parentWithProps" class="org.springframework.beans.testfixture.beans.TestBean">
		<property name="someProperties">
			<props>
				<prop key="Rob">Sall</prop>
				<prop key="Rod">Kerry</prop>
			</props>
		</property>
	</bean>

	<bean id="childWithProps" parent="parentWithProps">
		<property name="someProperties">
			<props merge="true">
				<prop key="Juergen">Eva</prop>
				<prop key="Rob">Sally</prop>
			</props>
		</property>
	</bean>


	<bean id="parentWithListInConstructor" class="org.springframework.beans.testfixture.beans.TestBean">
		<constructor-arg index="0">
			<list>
				<value>Rob Harrop</value>
				<value>Rod Johnson</value>
			</list>
		</constructor-arg>
	</bean>

	<bean id="childWithListInConstructor" parent="parentWithListInConstructor">
		<constructor-arg index="0">
			<list merge="true">
				<value>Juergen Hoeller</value>
			</list>
		</constructor-arg>
	</bean>

	<bean id="childWithListOfRefsInConstructor" parent="parentWithListInConstructor">
		<constructor-arg index="0">
			<list merge="true">
				<bean class="org.springframework.beans.testfixture.beans.TestBean"/>
			</list>
		</constructor-arg>
	</bean>

	<bean id="parentWithSetInConstructor" class="org.springframework.beans.testfixture.beans.TestBean">
		<constructor-arg index="0">
			<set>
				<value>Rob Harrop</value>
			</set>
		</constructor-arg>
	</bean>

	<bean id="childWithSetInConstructor" parent="parentWithSetInConstructor">
		<constructor-arg index="0">
			<set merge="true">
				<value>Sally Greenwood</value>
			</set>
		</constructor-arg>
	</bean>

	<bean id="childWithSetOfRefsInConstructor" parent="parentWithSetInConstructor">
		<constructor-arg index="0">
			<set merge="true">
				<bean class="org.springframework.beans.testfixture.beans.TestBean">
					<property name="name" value="Sally"/>
				</bean>
			</set>
		</constructor-arg>
	</bean>

	<bean id="parentWithMapInConstructor" class="org.springframework.beans.testfixture.beans.TestBean">
		<constructor-arg index="0">
			<map>
				<entry key="Rob" value="Sall"/>
				<entry key="Juergen" value="Eva"/>
			</map>
		</constructor-arg>
	</bean>

	<bean id="childWithMapInConstructor" parent="parentWithMapInConstructor">
		<constructor-arg index="0">
			<map merge="true">
				<entry key="Rod" value="Kerry"/>
				<entry key="Rob" value="Sally"/>
			</map>
		</constructor-arg>
	</bean>

	<bean id="childWithMapOfRefsInConstructor" parent="parentWithMapInConstructor">
		<constructor-arg index="0">
			<map merge="true">
				<entry key="Rob">
					<bean class="org.springframework.beans.testfixture.beans.TestBean">
						<property name="name" value="Sally"/>
					</bean>
				</entry>
			</map>
		</constructor-arg>
	</bean>

	<bean id="parentWithPropsInConstructor" class="org.springframework.beans.testfixture.beans.TestBean">
		<constructor-arg index="0">
			<props>
				<prop key="Rob">Sall</prop>
				<prop key="Rod">Kerry</prop>
			</props>
		</constructor-arg>
	</bean>

	<bean id="childWithPropsInConstructor" parent="parentWithPropsInConstructor">
		<constructor-arg index="0">
			<props merge="true">
				<prop key="Juergen">Eva</prop>
				<prop key="Rob">Sally</prop>
			</props>
		</constructor-arg>
	</bean>

</beans>
